package binary;

public class Demo07 {
    public static void main(String[] args) {
        /*
         *右移位运算
         */
        int n = 0x67d78f6d;
        int m = n >>> 1;
        int k = n >>> 2;
        int g = n >>> 8;
        int b3 = (n >>> 8) & 0xff;
        System.out.println(Integer.toBinaryString(n));
        System.out.println(Integer.toBinaryString(m));
        System.out.println(Integer.toBinaryString(g));
        System.out.println(Integer.toBinaryString(b3));
    }
}
